<template>
	<view>
		<view class="rr">
			<view class="img-box">
				<image src="/static/image/paysuccess.png" mode="aspectFill" class="img"></image>
			</view>
			<view class="txt">
				<text>支付成功</text>
			</view>
			<view class="btn-1">
				<van-button color="linear-gradient(to right, #4bb0ff, #6149f6)" @click="btn">
				  返回首页
				</van-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			btn() {
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.rr {
		width: 500rpx;
		height: 800rpx;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		.img-box {
			text-align: center;
		}
		.txt {
			text-align: center;
			font-size: 34rpx;
			font-weight: 600;
		}
		.btn-1 {
			margin-top: 100rpx;
			text-align: center;
			
		}
		.img {
			width: 150rpx;
			height: 150rpx;
		}
	}
</style>
